package eteam.aps.zn;

/**
 * 用友-常量数据信息
 *
 * @author LiuLei
 */
public class YYConstant {

    /**
     * 用于 token 存放与redis的后缀
     */
    public static final String TOKEN_SUFFIX = "YY";

    /**
     * 返回状态
     */
    public static final String ERR_CODE = "errcode";

    /**
     * 错误信息
     */
    public static final String ERR_MSG = "errmsg";

    /**
     * token 获取地址
     */
    public static final String TOKEN_URL = "https://api.yonyouup.com/system/token";

    /**
     * tradeid 获取地址
     */
    public static final String TRADE_ID_URL = "https://api.yonyouup.com/system/tradeid";

    /**
     * 新增一张其它入库单
     */
    public static final String OTHER_GOODS_ENTRY = "https://api.yonyouup.com/api/otherin/add";

    /**
     * 仓库地址
     */
    public static final String REPOSITORY_URL = "https://api.yonyouup.com/api/warehouse/batch_get";
    /**
     * 仓库地址
     */
    public static final String REPOSITORY_WH = "http://znn.flechazo.net/data/wh";

    /**
     * 到货单地址
     */
    public static final String ARRIVAL_URL = "http://znn.flechazo.net/data/av";

    /**
     * 库存日期
     */
    public static final String CURRENT_STOCK_DATE = "http://znn.flechazo.net/data/csd";

    /**
     * 到货单地址
     */
    public static final String ARRIVAL_LIST_URL = "http://znn.flechazo.net/data/avl";
    /**
     * 到货单详情
     */
    public static final String ARRIVAL_DETAILS_URL = "http://znn.flechazo.net/data/ar";

    /**
     * 工单信息地址
     */
    public static final String MOCO_URL = "http://znn.flechazo.net/data/moco";

    /**
     * 获取储位信息
     */
    public static final String GOODS_URL = "http://znn.flechazo.net/data/gl";

    /**
     * 存货信息
     */
    public static final String POSITION_URL = "http://znn.flechazo.net/data/pos";
    public static final String POSITION_INV_URL = "http://znn.flechazo.net/data/inv";

    /**
     * 批量获取储位信息
     */
    public static final String GOODS_MAP_URL = "http://znn.flechazo.net/data/gls";

    /**
     * 采购类型
     */
    public static final String PUR_TYPE_URL = "http://znn.flechazo.net/data/pt";

    /**
     * 收发类型
     */
    public static final String RECEIVE_SEND_TYPE_URL = "http://znn.flechazo.net/data/rs";

    /**
     * 销售类型
     */
    public static final String SALE_TYPE_URL = "http://znn.flechazo.net/data/sal";

    /**
     * 销售订单
     */
    public static final String SALE_ORDER_URL = "http://znn.flechazo.net/data/slo";

    /**
     * 获取单张其他出库单
     */
    public static final String OTHER_GET_OUTBOUND = "https://api.yonyouup.com/api/otherout/get";

    /**
     * 新增一张其他出库单
     */
    public static final String OTHER_ADD_OUTBOUND = "https://api.yonyouup.com/api/otherout/add";

    /**
     * 审核一张其他出库单
     */
    public static final String OTHER_AUDIT_OUTBOUND = "https://api.yonyouup.com/api/otherout/verify";

    /**
     * 现存量查询
     */
    public static final String CURRENT_STOCK = "https://api.yonyouup.com/api/currentstock/batch_get";

    /**
     * 新增一张产成品入库单
     */
    public static final String PACKAGE_WAREHOUSE = "https://api.yonyouup.com/api/productin/add";

    /**
     * 批量获取客户信息
     */
    public static final String CUSTOMER = "https://api.yonyouup.com/api/customer/batch_get";
    /**
     * 获取单个客户信息
     */
    public static final String CUSTOMER_SINGLE = "https://api.yonyouup.com/api/customer/get";

    /**
     * 获取销售订单列表信息
     */
    public static final String SALES_ORDER_LIS = "https://api.yonyouup.com/api/saleorderlist/batch_get";

    /**
     * 订单状态
     */
    public static final String ORDER_STATE = "Approved";

    /**
     * 获取单张销售订单
     */
    public static final String SALES_ORDER = "https://api.yonyouup.com/api/saleorder/get";

    /**
     * 新增一张发货单
     */
    public static final String ADD_DELIVERY = "https://api.yonyouup.com/api/consignment/add";

    /**
     * 查看保存结果值
     */
    public static final String SAVE_RESULT = "https://api.yonyouup.com/result";

    /**
     * 产成品入库单接口
     */
    public static final String PTS_PRO_IN = "http://192.168.1.130:6677/api/bill/proin";

    /**
     * 采购入库单
     */
    public static final String PTS_PUR_IN = "http://192.168.1.130:6677/api/bill/purin";

    /**
     * 材料出库单接口
     */
    public static final String PTS_PRO_OUT = "http://192.168.1.130:6677/api/bill/proout";

    /**
     * 发货单接口
     */
    public static final String PTS_DISPATCH_LIST = "http://192.168.1.130:6677/api/bill/dispatchlist";

    /**
     * 审核发货单接口
     */
    public static final String PTS_DISPATCH_AUDIT = "http://znn.flechazo.net/data/aso";

    /**
     * 领料单库存信息
     */
    public static final String PRODUCE_STOCK = "http://znn.flechazo.net/data/pq";

    /**
     * 生产领料单信息
     */
    public static final String PRODUCE_INV = "http://znn.flechazo.net/data/pi";

    /**
     * 生产领料单信息
     */
    public static final String INV_CODE = "http://znn.flechazo.net/data/gbv";

    /**
     * 生产领料单信息
     */
    public static final String INV_CODES = "http://znn.flechazo.net/data/gbvs";

    /**
     * 根据物料编号和批号查询库存信息
     */
    public static final String INV_BATCH_STOCK = "http://znn.flechazo.net/data/sbb";

    /**
     * 根据储位编号和名称查看库存是否存在
     */
    public static final String POS_CODE_NAME = "http://znn.flechazo.net/data/fccn";

    /**
     * 现存量查询
     */
    public static final String INVENTORY = "http://znn.flechazo.net/data/invs";

}
